/**
 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';

	config.toolbar = [
		{name:'format',items:['Format','-']},
		{name:'document',items:['Source','Code']},
		{name:'editing',items:['Replace','Wrapcode']},
		{name:'basicstyles',items:['RemoveFormat','Bold','Italic','Strike','TextColor','BGColor']},
		{ name: 'paragraph', items : [ 'Subscript','Superscript','NumberedList','BulletedList','Outdent','Indent','Blockquote',  
		'-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },
		{ name: 'links', items : [ 'Link','Unlink','Image','Table','SpecialChar','PageBreak','ShowBlocks','CodeSnippet','Maximize' ] },  
	]
	config.format_tags = 'p;h1;h2;h3';
	// 上传图片路径
	config.filebrowserImageUploadUrl = "/back/news/imageUpload.do";
};
